package game.metalmax.packet.world {
	
	import flash.utils.ByteArray;
	
	import game.metalmax.packet.IPacket;

	public class PPoint implements IPacket{
		
		//坐标
		public var x:int;
		public var y:int;
		
		public function write(out:ByteArray):void{
			var len:int = 0;
			var i:int = 0;
			out.writeInt(x);
			out.writeInt(y);
		}
		public function read(inn:ByteArray):void{
			var len:int = 0;
			var i:int = 0;
			x = inn.readInt();
			y = inn.readInt();
		}
	}
}